package com.burgeon.backend.college.client_side.mappers;


import com.burgeon.backend.college.client_side.entity.CourseOS;
import com.burgeon.backend.college.client_side.entity.CourseRecord;
import com.burgeon.backend.college.client_side.entity.Exam;
import com.burgeon.backend.college.client_side.entity.ExamRecord;

import java.util.List;

public interface AppCollegeMapper {

    Integer applyAfterTest(String exam_id, String emp_id);

    List<String> getCourseware(String cid,int start);

    Integer getCoursewareCount(String cid);

    Integer findExamTotalPoints(String id);

    Integer examResult(String name,String exam_id,String empId,Integer score,String createTime,
                       String token,
                       String examTime,int correct,String storeId);

    List<Exam> fingExamData(String courseId);

    Integer UpCourseRecordState(String id,String endTime);

    CourseOS getCourseById(String id);

    Integer UpCourseRecord(String id);

    String fingCourseRecordIdByCourseId(String course_id,String empid);

    Integer addCourseCount(String course_id);

    Integer createCourseRecord(CourseRecord courseRecord);

    ExamRecord findExamRecord(String exam_id,String emp_id);

    Integer upExamRecordApply(String exam_id,String emp_id);

    List<CourseOS> getCourseList(String token);

    CourseRecord findCourseRecord(String course_id,String empId);

    Exam findExamData(String course_id);

    Exam getExamData(String id);

    int findExamItemCount(String id);

}
